package ModelLayer;



import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The test class DVDCollectionTest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class DVDCollectionAndAddressBookTest
{
    private ModelLayer.DVDCollection dVDColle1;
    private ModelLayer.AddressBook addressB1;
    private ModelLayer.LoanCollection loanColl1;

    
    

    

    /**
     * Default constructor for test class DVDCollectionTest
     */
    public DVDCollectionAndAddressBookTest()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
        dVDColle1 = new ModelLayer.DVDCollection();
        dVDColle1.createDVD("1", "t1", "a1", "p1");
        dVDColle1.createDVD("2", "t2", "a2", "p2");
        dVDColle1.addCopiesToDVD("1", 11, "2011", 2011, "available");
        dVDColle1.addCopiesToDVD("1", 12, "2012", 2012, "available");
        dVDColle1.addCopiesToDVD("2", 21, "2021", 2021, "available");
        addressB1 = new ModelLayer.AddressBook();
        addressB1.createPerson("1993", "Laszlo", "Dannebrogsgade", 9000, "Aalborg", "1234");
        addressB1.createPerson("199309", "Elisa", "Center", 9001, "Aalborg", "12345");
        addressB1.createPerson("199311", "Razvan", "Kildervaj", 9100, "Aalborg-outside", "12");
        loanColl1 = new ModelLayer.LoanCollection();
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }
}
